/**
 * 
 */
package com.mywind.dao.windfarm;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.mywind.entity.windfarm.UseRateEntity;


/**
 * @author a01513
 *
 */
public interface UseRateDao {
	
	/**
	 *TEQ表示Turbine+时间等于，TLE表示Turbine+时间小于等于，TBT表示Turbine+时间大于
	 */
	public List<UseRateEntity> findUseRateByTEQ(@Param("farmid")String farmid,@Param("turbineid") int turbineid,@Param("vtime")String vtime);
	public List<UseRateEntity> findUseRateByTLE(@Param("farmid")String farmid,@Param("turbineid") int turbineid,@Param("vtime")String vtime);
	public List<UseRateEntity> findUseRateByTBT(@Param("farmid")String farmid,@Param("turbineid") int turbineid,@Param("ltime")String ltime,@Param("htime")String htime);
	
	/**
	 *EQ表示时间等于，LE表示时间小于等于，BT表示时间大于
	 */
	public List<UseRateEntity> findUseRateByEQ(@Param("farmid")String farmid,@Param("vtime")String vtime);
	public List<UseRateEntity> findUseRateByLE(@Param("farmid")String farmid,@Param("vtime")String vtime);
	public List<UseRateEntity> findUseRateByBT(@Param("farmid")String farmid,@Param("ltime")String ltime,@Param("htime")String htime);
}
